Skip to content

Conversation

carmennt
Copy link
Member

@carmennt carmennt commented Oct 9, 2026 •

Wishlist functionality is now in place. A user has to be logged in as one will get the "Sign in to see your wishlist" error when not signed in. On the page a user can sort their wishlisted games and remove games from the list. The "Add to wishlist" button on the active card now also works and will switch to "Remove from wishlist" when the game is already on the users wishlist.

Wishlist functionality implemented with:

  • Grid view of games fetched from signed in users wishlist
  • Remove and add game from/to wishlist functionality

Closes issue: #33

Adding a button so that a user has the option to remove a game from their wishlist.
Moving all mui styling to the wishlistpage.css file. Also adding a back button so a user can navigate back to the last visitied page.
Removing the back button as it is being fixed on another brach
@carmennt carmennt linked an issue Oct 9, 2026 that may be closed by this pull request
8 tasks
@carmennt carmennt self-assigned this Oct 9, 2026
carmennt and others added 22 commits October 9, 2026 11:37
Adding a button so that a user has the option to remove a game from their wishlist.
Moving all mui styling to the wishlistpage.css file. Also adding a back button so a user can navigate back to the last visitied page.
Adding a button so that a user has the option to remove a game from their wishlist.
Moving all mui styling to the wishlistpage.css file. Also adding a back button so a user can navigate back to the last visitied page.
Moving all mui styling to the wishlistpage.css file. Also adding a back button so a user can navigate back to the last visitied page.
Removing the mocked games from the wishlist to make space for the real data. Updating the sorting function to work with the game type. Putting the mapping fuction inside the wishlistgamecard.
The page will be empty for now, since there are no wishlisted games in the DB yet.
Adding backend logic for the wishlist functionality. There are functions in frontend that call the backend, that will call the DB.
add optional rank badge parameter to passivegamecard, allowing for numbered rank visualization for games when enabled
Moving all mui styling to the wishlistpage.css file. Also adding a back button so a user can navigate back to the last visitied page.
Moving all mui styling to the wishlistpage.css file. Also adding a back button so a user can navigate back to the last visitied page.
Moving all mui styling to the wishlistpage.css file. Also adding a back button so a user can navigate back to the last visitied page.
Moving all mui styling to the wishlistpage.css file. Also adding a back button so a user can navigate back to the last visitied page.
Removing the mocked games from the wishlist to make space for the real data. Updating the sorting function to work with the game type. Putting the mapping fuction inside the wishlistgamecard.
The page will be empty for now, since there are no wishlisted games in the DB yet.
Adding backend logic for the wishlist functionality. There are functions in frontend that call the backend, that will call the DB.
Needs to be tested with updated backend, and user_id fetch from logged in user.
Wishlist works! (it gets the wishlisted games of the user one is logged in with)
All look good and wishlist works as it should!
@carmennt carmennt marked this pull request as ready for review October 16, 2026 08:29
@carmennt carmennt requested a review from a team as a code owner October 16, 2026 08:29
Copy link
Member

@elinejaa elinejaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but clicking on wishlist game card does not bring you to the game, please fix!

Copy link
Member

@elinejaa elinejaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@elinejaa elinejaa merged commit a3f89ca into main Oct 16, 2026
@elidaks elidaks deleted the 33-implement-wishlist-functionality branch October 16, 2026 10:04
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement wishlist functionality
2 participants